﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace CloudClass.Models
{
    //笔记表
    public class Notes
    {
        //编号
        public virtual int Id { get; set; }

        //笔记内容
        public virtual string NotesContent { get; set; }

        //课时编号
        public virtual Lesson Lesson { get; set; }

        //课程编号
        public virtual CourseInfo CourseInfo { get; set; }

        //视频时间
        public virtual string VideoTime { get; set; }

        //笔记图片
        public virtual string NotesImage { get; set; }

        //发布时间
        public virtual DateTime PublishTime { get; set; }

        //状态
        public virtual int NotesStatus { get; set; }

        //笔记类型（1、公开 2、私密）
        public virtual int NotesType { get; set; }

        /// <summary>
        /// 发布者
        /// </summary>
        public virtual UserInfo UserInfo { get; set; }
    }
}